import Axios from "./axios"

const axios = Axios()

export default {
	get(url: string, params: any, headers: any) {
		return axios.get(url, {params, headers})
	},
	posrt(url: string, params: any, headers: any) {
		return axios.post(url, params, {headers})
	},
	put(url: string, params: any, headers: any) {
		return axios.put(url, params, {headers})
	},
	delete(url: string, params: any, headers: any) {
		return axios.delete(url, {params, headers})
	}
}